<template>
  <card-container
    :title="`与 ${keywords} 关键词相关的 项目 共 ${total} 条`"
    width="816px"
  >
    <project-card  v-for="(val,index) in resultList" :key="val.itemId" :info="val"></project-card>
    <empty-card v-if="resultList.length===0" height="556px"></empty-card>

  </card-container>


</template>

<script>
  import CardContainer from "../../components/pc/cardContainer";
  import EmptyCard from '../../components/pc/emptyCard';
  import ProjectCard from "../../components/pc/projectCard";
    export default {
        name: "project",
      components:{

          CardContainer,ProjectCard,EmptyCard
      },
      props:{
        resultList:{
          type:Array,
          default:()=>([])
        },
        keywords:{
          type:String,
          default:''
        },
        total:{
          type:Number,
          default:0
        },
      }
    }
</script>

<style lang="scss" scoped>



</style>
